package com.glw.sso.platform.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.glw.sso.platform.common.base.BaseEntity;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 系统菜单表
 * </p>
 *
 * @author AutoGenerator
 * @since 2021-11-14
 */
@Getter
@Setter
@TableName("system_menu")
@ApiModel(value = "Menu对象", description = "系统菜单表")
public class Menu extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("菜单名称")
    private String name;

    @ApiModelProperty("菜单唯一标识")
    private String uuid;

    @ApiModelProperty("父级菜单标识")
    private String parentUuid;

    @ApiModelProperty("系统标示")
    private String appId;

    @ApiModelProperty("菜单图标")
    private String icon;

    @ApiModelProperty("菜单对应的页面跳转地址")
    private String url;

    @ApiModelProperty("说明")
    private String discription;

    @ApiModelProperty("菜单状态 0：无效；1：有效")
    private Boolean state;

    @ApiModelProperty("菜单排序")
    private Integer orderNum;

    @ApiModelProperty("菜单层级")
    private Integer menuLevel;

    @ApiModelProperty("菜单类型 1、模块 2、栏目 3、菜单 4、按钮")
    private Integer menuType;

    @ApiModelProperty("备注")
    private String remark;


}
